#!/bin/bash

set -e

#DEBHELPER#

case "$1" in
    configure)
        # initial setup
        /usr/share/zentyal/initial-setup --no-restart ntp $2

        # restart module
        zs ntp restart || true

        dpkg-trigger --no-await zentyal-core
    ;;
esac

exit 0
